package com.yami.shop.bean.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
@TableName("tz_circle_comment")
public class CircleComment {

    @TableId(type = IdType.AUTO)
    private Integer id;

    @Schema(description = "用户id")
    private String userId;

    @Schema(description = "回复某条评论的uid")
    private Integer toUid;

    @Schema(description = "回复某个人的uid")
    private Integer toUserUid;

    @Schema(description = "评论内容")
    private String content;

    @Schema(description = "状态 0删除 1正常")
    private Integer status;

    @Schema(description = "评论类型 1:点赞 0:评论")
    private Integer type;

    @Schema(description = "一级评论UID")
    private Integer firstCommentUid;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "更新时间")
    private Date updateTime;
}
